<template>
	<view class="all">
		<view class="img">
			<view class="image_f">
				<text>{{info.count}}</text>
				<text>总讲数</text>
				<text class="h"></text>
			</view>
			<view class="all_1">
				<image v-for="(item,index) in info.user_avatar" :style="{
					'width':'48rpx',
					'height':'48rpx',
					'border-radius': '100%',
					'margin-left':(index==0?'':'-10rpx')
				}" :src="item" />
				<text>{{info.study}}人已加入学习</text>
			</view>
		</view>
	<view style="padding: 30rpx;">
		<mp-html :content="info.content" />
	</view>
		<!-- 	<view class="jianj">
			<my-text text='课程简介' />
			<view class="jianj_1">
				1.解锁时代的一本必修课，自然规律自然不是世界与小 宁的全部了，人类世界越来越多的经过 有算法进行，了 解他，才能驾驭
			</view>
		</view>
		<view class="jianj">
			<my-text text='课程简介' />
			<view class="jianj_1">
				1.解锁时代的一本必修课，自然规律自然不是世界与小 宁的全部了，人类世界越来越多的经过 有算法进行，了 解他，才能驾驭
			</view>
		</view> -->
	</view>
</template>

<script>
	export default {
		props: ['info'],
		data() {
			return {}
		}
	}
</script>

<style lang="scss" scoped>
	.jianj {
		margin-top: 30rpx;
		padding: 0rpx 20rpx 0rpx 20rpx;

		.jianj01 {
			width: 128rpx;
			position: relative;

			.jianj01text {
				font-size: 32rpx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #131314;
				opacity: 1;
			}

			.jianj01tex1t {
				display: block;
				width: 100%;
				height: 8rpx;
				background-color: #FFD500;
				opacity: 0.7;
				position: absolute;
				bottom: 5rpx;
			}
		}

		.jianj_1 {
			margin-top: 15rpx;
			text-align: justify;
		}
	}

	.all_1 {
		width: 50%;
		text-align: center;

		text {
			display: block;
			font-size: 24rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			color: #131314;
			opacity: 1;
		}
	}

	.image_f {
		text:nth-of-type(1) {
			font-size: 36rpx;
			font-family: HarmonyOS Sans;
			font-weight: bold;
			color: #131314;
			opacity: 1;
		}

		text:nth-of-type(2) {
			font-size: 24rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			color: #131314;
			opacity: 1;
		}

		width: 50%;
		text-align: center;

		text {
			display: block;
		}

		.h {
			margin-top: -60rpx;
			float: right;
			display: inline-block;
			height: 50rpx;
			width: 2rpx;
			background-color: #91969A;
		}
	}

	.img {
		width: 690rpx;
		display: flex;
		align-items: center;
		height: 120rpx;
		background-color: #F5F5F5;
		border-radius: 4rpx;
		margin: auto;
	}
</style>
